const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({

  transpileDependencies: true,
  devServer: {
    host: "localhost",
    port: 8081,
    proxy: {
      '/api': {
        target: "http://localhost:8081",
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    },
    client: {
      overlay: false
    },
    compress: false
  },
})